package com.nbsaas.boot.shopArticle.ext.apis;

import com.nbsaas.boot.rest.response.ResponseObject;
import com.nbsaas.boot.shopArticle.ext.domain.request.ShopArticleExtRequest;
import com.nbsaas.boot.shopArticle.ext.domain.response.ShopArticleExtResponse;


/**
 * 对外接口
 */
public interface ShopArticleExtApi {

    /**
     * 添加文章
     *
     * @param request
     * @return
     */
    ResponseObject<ShopArticleExtResponse> create(ShopArticleExtRequest request);


    /**
     * 更新文章
     *
     * @param request
     * @return
     */
    ResponseObject<ShopArticleExtResponse> update(ShopArticleExtRequest request);



}
